package day_6;/*
 *@ 代阳敲的专属代码
 **/

public class InnerClass01 {
    public static void main(String[] args) {

    }

}
class Outer{
    private int n1=100;
    public Outer(int n1){
        System.out.println("外部类构造器");
    }
    public void method1(){
        System.out.println("外部类方法1");
    }
    {//代码块
        System.out.println("代码块");
    }
   class Inner{

   }
    {
        class Inner2{
            int n1=200;

            public void method2(){
                method1();
            }
            public static void main(String[] args) {
                System.out.println("n1");


            }
        }
        new Inner2().method2();
    }
}
